<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id="login">
			<s:form name="f" action="../j_spring_security_check" method="post" theme="simple">
			
				

				<fieldset>
					<legend>Veuillez saisir vos identifiants de connexion</legend>

					<div id="login_bloc">
						<c:if test='${not empty param.login_error}'>
							<span class="err"><s:text name="echec.cnx"/></span>
						</c:if>
						<table>
							<tr>
								<td class="labelLogin">
									<label for="User"><s:text name="User" />&nbsp;:</label>
								</td>
								<td>
									<span>
										<input type="text" name="j_username"
												value='<c:if test='${not empty param.login_error}'>${SPRING_SECURITY_LAST_USERNAME}</c:if>'
												id="j_spring_security_check_j_username" />
									</span>
								</td>
							</tr>
							<tr>
								<td class="labelLogin">
									<label for="Password"><s:text name="Password" />&nbsp;:</label>
								</td>
								<td>
									<span>
										<input type="password" name="j_password" id="j_spring_security_check_j_password" />
									</span>
								</td>
							</tr>
						</table>

					</div>


			        <div id="bouton">
      						<input type="submit" name="Valider" value="Valider" />
				    </div>
				</fieldset>
			</s:form>
</div>